/* 
 * Cognitive Profile Copyright (C) 2007 Lois Breur Krause
 */
package cpi;

/**
 * <p> Server side response processing key is not shared with client.  
 * 
 *  <blockquote>
 * 
 *   This data is private and confidential. 
 * 
 *  </blockquote>
 * 
 * </p>
 * 
 * @author jdp
 */
public abstract class Key {

    /**
     * 
     */
    public final static Group.Type TypeOf(boolean left, int id){

        switch (id){

        case 0:
            if (left) 
                return Group.Type.ST;
            else 
                return Group.Type.SF;
        case 1:
            if (left) 
                return Group.Type.ST;
            else 
                return Group.Type.SF;
        case 2:
            if (left) 
                return Group.Type.ST;
            else 
                return Group.Type.SF;
        case 3:
            if (left) 
                return Group.Type.ST;
            else 
                return Group.Type.SF;
        case 4:
            if (left) 
                return Group.Type.ST;
            else 
                return Group.Type.SF;
        case 5:
            if (left) 
                return Group.Type.ST;
            else 
                return Group.Type.SF;
        case 6:
            if (left) 
                return Group.Type.ST;
            else 
                return Group.Type.SF;
        case 7:
            if (left) 
                return Group.Type.ST;
            else 
                return Group.Type.SF;
        case 8:
            if (left) 
                return Group.Type.ST;
            else 
                return Group.Type.SF;
        case 9:
            if (left) 
                return Group.Type.ST;
            else 
                return Group.Type.SF;
        case 10:
            if (left) 
                return Group.Type.ST;
            else 
                return Group.Type.NT;
        case 11:
            if (left) 
                return Group.Type.ST;
            else 
                return Group.Type.NT;
        case 12:
            if (left) 
                return Group.Type.ST;
            else 
                return Group.Type.NT;
        case 13:
            if (left) 
                return Group.Type.ST;
            else 
                return Group.Type.NT;
        case 14:
            if (left) 
                return Group.Type.ST;
            else 
                return Group.Type.NT;
        case 15:
            if (left) 
                return Group.Type.ST;
            else 
                return Group.Type.NT;
        case 16:
            if (left) 
                return Group.Type.ST;
            else 
                return Group.Type.NT;
        case 17:
            if (left) 
                return Group.Type.ST;
            else 
                return Group.Type.NT;
        case 18:
            if (left) 
                return Group.Type.ST;
            else 
                return Group.Type.NT;
        case 19:
            if (left) 
                return Group.Type.ST;
            else 
                return Group.Type.NT;
        case 20:
            if (left) 
                return Group.Type.ST;
            else 
                return Group.Type.NF;
        case 21:
            if (left) 
                return Group.Type.ST;
            else 
                return Group.Type.NF;
        case 22:
            if (left) 
                return Group.Type.ST;
            else 
                return Group.Type.NF;
        case 23:
            if (left) 
                return Group.Type.ST;
            else 
                return Group.Type.NF;
        case 24:
            if (left) 
                return Group.Type.ST;
            else 
                return Group.Type.NF;
        case 25:
            if (left) 
                return Group.Type.ST;
            else 
                return Group.Type.NF;
        case 26:
            if (left) 
                return Group.Type.ST;
            else 
                return Group.Type.NF;
        case 27:
            if (left) 
                return Group.Type.ST;
            else 
                return Group.Type.NF;
        case 28:
            if (left) 
                return Group.Type.ST;
            else 
                return Group.Type.NF;
        case 29:
            if (left) 
                return Group.Type.ST;
            else 
                return Group.Type.NF;
        case 30:
            if (left) 
                return Group.Type.NF;
            else 
                return Group.Type.SF;
        case 31:
            if (left) 
                return Group.Type.NF;
            else 
                return Group.Type.SF;
        case 32:
            if (left) 
                return Group.Type.NF;
            else 
                return Group.Type.SF;
        case 33:
            if (left) 
                return Group.Type.NF;
            else 
                return Group.Type.SF;
        case 34:
            if (left) 
                return Group.Type.NF;
            else 
                return Group.Type.SF;
        case 35:
            if (left) 
                return Group.Type.NF;
            else 
                return Group.Type.SF;
        case 36:
            if (left) 
                return Group.Type.NF;
            else 
                return Group.Type.SF;
        case 37:
            if (left) 
                return Group.Type.NF;
            else 
                return Group.Type.SF;
        case 38:
            if (left) 
                return Group.Type.NF;
            else 
                return Group.Type.SF;
        case 39:
            if (left) 
                return Group.Type.NF;
            else 
                return Group.Type.SF;
        case 40:
            if (left) 
                return Group.Type.SF;
            else 
                return Group.Type.NT;
        case 41:
            if (left) 
                return Group.Type.SF;
            else 
                return Group.Type.NT;
        case 42:
            if (left) 
                return Group.Type.SF;
            else 
                return Group.Type.NT;
        case 43:
            if (left) 
                return Group.Type.SF;
            else 
                return Group.Type.NT;
        case 44:
            if (left) 
                return Group.Type.SF;
            else 
                return Group.Type.NT;
        case 45:
            if (left) 
                return Group.Type.SF;
            else 
                return Group.Type.NT;
        case 46:
            if (left) 
                return Group.Type.SF;
            else 
                return Group.Type.NT;
        case 47:
            if (left) 
                return Group.Type.SF;
            else 
                return Group.Type.NT;
        case 48:
            if (left) 
                return Group.Type.SF;
            else 
                return Group.Type.NT;
        case 49:
            if (left) 
                return Group.Type.SF;
            else 
                return Group.Type.NT;
        case 50:
            if (left) 
                return Group.Type.NT;
            else 
                return Group.Type.NF;
        case 51:
            if (left) 
                return Group.Type.NT;
            else 
                return Group.Type.NF;
        case 52:
            if (left) 
                return Group.Type.NT;
            else 
                return Group.Type.NF;
        case 53:
            if (left) 
                return Group.Type.NT;
            else 
                return Group.Type.NF;
        case 54:
            if (left) 
                return Group.Type.NT;
            else 
                return Group.Type.NF;
        case 55:
            if (left) 
                return Group.Type.NT;
            else 
                return Group.Type.NF;
        case 56:
            if (left) 
                return Group.Type.NT;
            else 
                return Group.Type.NF;
        case 57:
            if (left) 
                return Group.Type.NT;
            else 
                return Group.Type.NF;
        case 58:
            if (left) 
                return Group.Type.NT;
            else 
                return Group.Type.NF;
        case 59:
            if (left) 
                return Group.Type.NT;
            else 
                return Group.Type.NF;
        default:
            throw new java.lang. IllegalArgumentException(java.lang.String.valueOf(id));
        }
    }
}
